package org.feng.api.animal.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 新增&修改动物请求对象
 *
 * @author feng
 */
@Data
@ApiModel(description = "新增&修改动物请求对象")
public class AddAndUpdateAnimalRequest implements Serializable {
    @Serial
    private static final long serialVersionUID = 5662101558173497617L;

    @ApiModelProperty(name = "id", value = "id", notes = "修改动物时必填")
    private Long id;

    @ApiModelProperty(name = "name", value = "动物名称", notes = "新增动物时必填")
    private String name;

    @ApiModelProperty(name = "age", value = "年龄")
    private Integer age;

    @ApiModelProperty(name = "animalTypeCode", value = "动物类型code")
    private Integer animalTypeCode;

    @ApiModelProperty(name = "animalSexCode", value = "动物性别code")
    private Integer animalSexCode;

    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
}
